#include"include.h"
int main()
{
   char *arr[] = {"Hello", "World!", "How", "Are", "You?"};
   int arrlen = 5;
   int i;
   set_t *set = newSet((int(*)(const void *, const void *))strcmp);

   for(i = 0; i < arrlen; i++)
      setPut(set, arr[i]);
   printf("Size of set should be 5, and is %d.\n", set->size);

   assert(setContains(set, "Hello"));
   assert(!setContains(set, "How!"));

   setPut(set, arr[0]);
   assert(set->size == 5);

   setRemove(set, "Are");
   assert(set->size == 4);
   assert(!setContains(set, "Are"));

   return 0;
}
